	.file	"Ordenamiento.c"
	.text
	.globl	selectionSort
	.type	selectionSort, @function
selectionSort:
.LFB0:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$56, %rsp
	movq	%rdi, -56(%rbp)
	movq	%rsi, -64(%rbp)
	movq	$0, -48(%rbp)
	jmp	.L2
	.cfi_offset 3, -24
.L6:
	movq	-48(%rbp), %rax
	movq	%rax, -40(%rbp)
	movq	-48(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -32(%rbp)
	jmp	.L3
.L5:
	movq	-32(%rbp), %rax
	movq	-56(%rbp), %rdx
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movzbl	%al, %eax
	movl	%eax, %edi
	call	toupper
	movl	%eax, %ebx
	movq	-40(%rbp), %rax
	movq	-56(%rbp), %rdx
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movzbl	%al, %eax
	movl	%eax, %edi
	call	toupper
	cmpl	%eax, %ebx
	jge	.L4
	movq	-32(%rbp), %rax
	movq	%rax, -40(%rbp)
.L4:
	addq	$1, -32(%rbp)
.L3:
	movq	-32(%rbp), %rax
	cmpq	-64(%rbp), %rax
	jb	.L5
	movq	-48(%rbp), %rax
	movq	-56(%rbp), %rdx
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movb	%al, -17(%rbp)
	movq	-48(%rbp), %rax
	movq	-56(%rbp), %rdx
	addq	%rax, %rdx
	movq	-40(%rbp), %rax
	movq	-56(%rbp), %rcx
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	movb	%al, (%rdx)
	movq	-40(%rbp), %rax
	movq	-56(%rbp), %rdx
	addq	%rax, %rdx
	movzbl	-17(%rbp), %eax
	movb	%al, (%rdx)
	addq	$1, -48(%rbp)
.L2:
	movq	-64(%rbp), %rax
	subq	$1, %rax
	cmpq	-48(%rbp), %rax
	ja	.L6
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	selectionSort, .-selectionSort
	.globl	merge
	.type	merge, @function
merge:
.LFB1:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$88, %rsp
	movq	%rdi, -56(%rbp)
	movq	%rsi, -64(%rbp)
	movq	%rdx, -72(%rbp)
	movq	%rcx, -80(%rbp)
	movq	%r8, -88(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movq	$0, -24(%rbp)
	jmp	.L8
	.cfi_offset 3, -24
.L12:
	movq	-40(%rbp), %rax
	addq	-56(%rbp), %rax
	movzbl	(%rax), %eax
	movzbl	%al, %eax
	movl	%eax, %edi
	call	toupper
	movl	%eax, %ebx
	movq	-32(%rbp), %rax
	addq	-72(%rbp), %rax
	movzbl	(%rax), %eax
	movzbl	%al, %eax
	movl	%eax, %edi
	call	toupper
	cmpl	%eax, %ebx
	jge	.L9
	movq	-24(%rbp), %rax
	addq	-88(%rbp), %rax
	movq	-40(%rbp), %rdx
	addq	-56(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addq	$1, -40(%rbp)
	jmp	.L10
.L9:
	movq	-24(%rbp), %rax
	addq	-88(%rbp), %rax
	movq	-32(%rbp), %rdx
	addq	-72(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addq	$1, -32(%rbp)
.L10:
	addq	$1, -24(%rbp)
.L8:
	movq	-40(%rbp), %rax
	cmpq	-64(%rbp), %rax
	jae	.L17
	movq	-32(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jb	.L12
	jmp	.L17
.L14:
	movq	-24(%rbp), %rax
	addq	-88(%rbp), %rax
	movq	-40(%rbp), %rdx
	addq	-56(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addq	$1, -40(%rbp)
	addq	$1, -24(%rbp)
	jmp	.L13
.L17:
	nop
.L13:
	movq	-40(%rbp), %rax
	cmpq	-64(%rbp), %rax
	jb	.L14
	jmp	.L15
.L16:
	movq	-24(%rbp), %rax
	addq	-88(%rbp), %rax
	movq	-32(%rbp), %rdx
	addq	-72(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addq	$1, -32(%rbp)
	addq	$1, -24(%rbp)
.L15:
	movq	-32(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jb	.L16
	addq	$88, %rsp
	popq	%rbx
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	merge, .-merge
	.globl	mergeSort
	.type	mergeSort, @function
mergeSort:
.LFB2:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%rdi, -56(%rbp)
	movq	%rsi, -64(%rbp)
	cmpq	$1, -64(%rbp)
	jbe	.L18
	movq	-64(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	jne	.L20
	movq	-64(%rbp), %rax
	shrq	%rax
	movq	%rax, -32(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -40(%rbp)
	jmp	.L21
.L20:
	movq	-64(%rbp), %rax
	shrq	%rax
	movq	%rax, -40(%rbp)
	movq	-40(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -32(%rbp)
.L21:
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	malloc
	movq	%rax, -24(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	malloc
	movq	%rax, -16(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L22
.L23:
	movl	-8(%rbp), %eax
	cltq
	addq	-24(%rbp), %rax
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	addq	-56(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addl	$1, -8(%rbp)
.L22:
	movl	-8(%rbp), %eax
	cltq
	cmpq	-40(%rbp), %rax
	jb	.L23
	movl	$0, -4(%rbp)
	jmp	.L24
.L25:
	movl	-4(%rbp), %eax
	cltq
	addq	-16(%rbp), %rax
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	addq	-56(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addl	$1, -8(%rbp)
	addl	$1, -4(%rbp)
.L24:
	movl	-4(%rbp), %eax
	cltq
	cmpq	-32(%rbp), %rax
	jb	.L25
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	mergeSort
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	mergeSort
	movq	-56(%rbp), %rdi
	movq	-32(%rbp), %rcx
	movq	-16(%rbp), %rdx
	movq	-40(%rbp), %rsi
	movq	-24(%rbp), %rax
	movq	%rdi, %r8
	movq	%rax, %rdi
	call	merge
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	free
	movq	-16(%rbp), %rax
	movq	%rax, %rdi
	call	free
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	mergeSort, .-mergeSort
	.globl	mergeInverso
	.type	mergeInverso, @function
mergeInverso:
.LFB3:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$88, %rsp
	movq	%rdi, -56(%rbp)
	movq	%rsi, -64(%rbp)
	movq	%rdx, -72(%rbp)
	movq	%rcx, -80(%rbp)
	movq	%r8, -88(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movq	$0, -24(%rbp)
	jmp	.L27
	.cfi_offset 3, -24
.L31:
	movq	-40(%rbp), %rax
	addq	-56(%rbp), %rax
	movzbl	(%rax), %eax
	movzbl	%al, %eax
	movl	%eax, %edi
	call	toupper
	movl	%eax, %ebx
	movq	-32(%rbp), %rax
	addq	-72(%rbp), %rax
	movzbl	(%rax), %eax
	movzbl	%al, %eax
	movl	%eax, %edi
	call	toupper
	cmpl	%eax, %ebx
	jle	.L28
	movq	-24(%rbp), %rax
	addq	-88(%rbp), %rax
	movq	-40(%rbp), %rdx
	addq	-56(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addq	$1, -40(%rbp)
	jmp	.L29
.L28:
	movq	-24(%rbp), %rax
	addq	-88(%rbp), %rax
	movq	-32(%rbp), %rdx
	addq	-72(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addq	$1, -32(%rbp)
.L29:
	addq	$1, -24(%rbp)
.L27:
	movq	-40(%rbp), %rax
	cmpq	-64(%rbp), %rax
	jae	.L36
	movq	-32(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jb	.L31
	jmp	.L36
.L33:
	movq	-24(%rbp), %rax
	addq	-88(%rbp), %rax
	movq	-40(%rbp), %rdx
	addq	-56(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addq	$1, -40(%rbp)
	addq	$1, -24(%rbp)
	jmp	.L32
.L36:
	nop
.L32:
	movq	-40(%rbp), %rax
	cmpq	-64(%rbp), %rax
	jb	.L33
	jmp	.L34
.L35:
	movq	-24(%rbp), %rax
	addq	-88(%rbp), %rax
	movq	-32(%rbp), %rdx
	addq	-72(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addq	$1, -32(%rbp)
	addq	$1, -24(%rbp)
.L34:
	movq	-32(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jb	.L35
	addq	$88, %rsp
	popq	%rbx
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	mergeInverso, .-mergeInverso
	.globl	mergeSortInverso
	.type	mergeSortInverso, @function
mergeSortInverso:
.LFB4:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%rdi, -56(%rbp)
	movq	%rsi, -64(%rbp)
	cmpq	$1, -64(%rbp)
	jbe	.L37
	movq	-64(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	jne	.L39
	movq	-64(%rbp), %rax
	shrq	%rax
	movq	%rax, -32(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -40(%rbp)
	jmp	.L40
.L39:
	movq	-64(%rbp), %rax
	shrq	%rax
	movq	%rax, -40(%rbp)
	movq	-40(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -32(%rbp)
.L40:
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	malloc
	movq	%rax, -24(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	malloc
	movq	%rax, -16(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L41
.L42:
	movl	-8(%rbp), %eax
	cltq
	addq	-24(%rbp), %rax
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	addq	-56(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addl	$1, -8(%rbp)
.L41:
	movl	-8(%rbp), %eax
	cltq
	cmpq	-40(%rbp), %rax
	jb	.L42
	movl	$0, -4(%rbp)
	jmp	.L43
.L44:
	movl	-4(%rbp), %eax
	cltq
	addq	-16(%rbp), %rax
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	addq	-56(%rbp), %rdx
	movzbl	(%rdx), %edx
	movb	%dl, (%rax)
	addl	$1, -8(%rbp)
	addl	$1, -4(%rbp)
.L43:
	movl	-4(%rbp), %eax
	cltq
	cmpq	-32(%rbp), %rax
	jb	.L44
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	mergeSortInverso
	movq	-32(%rbp), %rdx
	movq	-16(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	mergeSortInverso
	movq	-56(%rbp), %rdi
	movq	-32(%rbp), %rcx
	movq	-16(%rbp), %rdx
	movq	-40(%rbp), %rsi
	movq	-24(%rbp), %rax
	movq	%rdi, %r8
	movq	%rax, %rdi
	call	mergeInverso
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	free
	movq	-16(%rbp), %rax
	movq	%rax, %rdi
	call	free
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	mergeSortInverso, .-mergeSortInverso
	.ident	"GCC: (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1"
	.section	.note.GNU-stack,"",@progbits
